<?php

abstract class User {
	
}

class LoggedUser extends User {
	
	private $uname;
	
	function __construct($name) {
		$this->uname = $name;
	}
	
	public function getName() {
		return $this->uname;
	}
	
	
}

class AnonymusUser extends User{
	
	public function getName() {
		return 'Anonymus';
	}
	
	
	function __call($name, $args) {
		return false;
	}
	
	
	
}